﻿namespace LoginSample.Models
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    public class User
    {
        private string username;
        private string password;
        private bool isBlocked;

        public User(string username, string password)
        {
            this.username = username;
            this.password = password;
            this.isBlocked = false;
        }

        public string Username
        {
            get { return this.username; }
        }

        public string Password
        {
            get { return this.password; }
        }

        public bool IsBlocked
        {
            get { return this.isBlocked; }
            set { this.isBlocked = value; }
        }
    }
}
